<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<table>
		<tr>
			<td>姓名</td>
			<td>${student2.name}</td>	
		</tr>
		<tr>
			<td>性别</td>
			<td>${student2.sex}</td>
		</tr>
		<tr>
			<td>班级</td>
			<td>${student2.tbClass.className}</td>
		</tr>
		<tr>
			<td>课程</td>
			<td>成绩</td>
		</tr>
		<c:forEach items="${student2.grades}" var="c">
			<tr>
				<td>${c.course.courseName}</td>
				<td>${c.grade }</td>
			</tr>
		</c:forEach>
	</table>